# coding=utf-8
# @Time    : 2018/3/13 14:13
# @Author  : Jiangxu
# @File    : search2.py
# @Software: PyCharm
from django.shortcuts import render
from django.views.decorators import csrf


# 接收POST请求数据
def search_post(request):
	ctx = {}
	if request.POST:
		ctx['rlt'] = request.POST['q']
	return render(request, "post.html", ctx)